home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
qbbs
/
gbirth20.zip
/
GETBIRTH.DOC
next >
Wrap
Text File
|
1991-02-27
|
4KB
|
91 lines
GetBirth 2.0
Copyright (c) 1991, Lost In Space Programming
All Rights Reserved.
Introduction.
GetBirth is a fairly simple program. It has two major tasks. It
will either get the birthdate of the user currently on-line or it will
check the birthdates of all the users in your USERS.BBS and USERSXI.BBS
files against an age and set and/or clear flags accordingly. What
GetBirth does depends upon what you tell it on the command line. In
this case, it will probably make the most sense if we just go ahead with
how to use it.
How to use GetBirth.
GetBirth accepts up to five command line parameters. These may be
combined in order to accomodate the sysop. These parameters are com
port (P#), global use (G), flag to set (flag), flag to clear (-flag), and
age to check against (age). The port may be any port used with X00 or
BNU (GetBirth uses the fossil for all com I/O) and is specified with P#
on the command line ("GetBirth P2" means use COM2). The global use
means for GetBirth to check each user's birthdate against an age (which
will be 18 if not specified). It is specified as "GetBirth G". The
flag to set (either as after the birthdate entry or for those old as age)
is specified simply as A1 - A8, B1 - B8, C1 - C8, or D1 - D8. Lower
case works fine also. The flag to clear uses a "-" before the flag name
but otherwise is identical to the flag to set as far as specification
("GetBirth G A8 -C2" will clear flag C2 and set flag A8 for each user 18
years old or older, "GetBirth P1 B1 -D3" will use COM1, ask the user for
his/her birthdate, and clear flag D3 and set flag B1 when done.)
Finally, the age parameter is simply the number for the age you wish to
check against. ("GetBirth G B1 -D3 21" will check each user for age 21
and clear flag D3 and set flag B1 for each user that age or older).
Examples:
Running on-line, to add existing user's birthdate, running as
a type 7, com1:, and you have it so that C1 controls the
execution of this menu item:
GETBIRTH.EXE P1 -C1
Running on-line, you want to CLEAR C1, and set C2 when they run
this menu item:
GETBIRTH.EXE P1 -C1 C2
Running as a weekly event, to set the users who are adult, (say,
18), and you want all adults to have flag D1 turned on:
GETBIRTH.EXE G D1 18
Running as a weekly, you want to have a certain flag for those
between 14 and 18. The adults (18 and older) already have flag
D1 set, and the 14-18 year olds will have flag D2 set.
GETBIRTH.EXE G -D1 D2 14
For Help:
GETBIRTH.EXE ?
*note: 18 is the default age of adult within the program, so if
you do not enter an age, it will default to 18.
***WARNING*** This has not been tested in the Global function in a
Multi-Line setup... for safety, do not run while a
seperate node is on-line, and accessing the USERS*.BBS
files.
Registration.
To register GetBirth, simply send a check or money order for $5 (US
currency) to:
Lost In Space Programming
3464 Mayflower Avenue
Memphis, TN 38122
This will entitle you to future upgrades as soon as they come out which
will be sent to you at OUR COST!!!
Bug reports, comments.
If you have any comments, bug reports, or just want somebody to
talk to, netmail or call Worthington's Computer, 1:123/5, (901)
458-3604. We'll be happy to discuss GetBirth and other Lost In Space
Programming projects.
John Worthington, 1:123/5, Worthington's Computer - 9600 @ V32
James Rhodes, 1:123/13.4, Shadow's Realm - Point System
Kerry Buckingham, 1:123/22, Buckingham's Palace - 9600 HST
(Lost In Space Programming)
Plans for next version:
Check age when run On-Line mode
ANSI Support On-Line
Group support during runtime (Set groups as well as flags)
and any other ideas you all come up with.